package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.system.entity.SysScope;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 作用域管理
 * @Author: jeecg-boot
 * @Date:   2019-10-05
 * @Version: V1.0
 */
public interface ISysScopeService extends IService<SysScope> {

    List<SysScope> findByName(String scopeName,String scopeId);

    SysScope getByScopeType(Integer scopeType);

    List<SysScope> getByIds(List<String> ids);



    List<SysScope> queryServerScopeTreeList(String tenantId);

    IPage<SysScope> findServerPage(Page<SysScope> page, SysScope sysScope);

    void serverSave(SysScope sysScope);
}
